package com.yanqu.road.entity.servercenter.whitelist;

/**
 * @Author : Cxp
 * @Time : 2024-12-30
 * @Description : IP白名单实体
 */

public class WhiteIP {
    int id; // DBId
    String content; // ip 等内容
    String remark; // 备注
    int type; // 白名单类型，0：玩家白名单；1：控制台白名单

    public WhiteIP(String content, String remark) {
        this.content = content;
        this.remark = remark;
    }

    public WhiteIP(int id, String content, String remark) {
        this.id = id;
        this.content = content;
        this.remark = remark;
    }

    public WhiteIP(int id, String content, String remark, int type) {
        this.id = id;
        this.content = content;
        this.remark = remark;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
